<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>首页--layui后台管理模板 2.0</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<script src="/script/jquery-3.3.1.min.js"></script>
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/admin/public.css" media="all" />
</head>
<body class="childrenBody">
<input type="hidden" id="author" th:value="${user.author}">
	<blockquote class="layui-elem-quote layui-bg-green">
		<div id="nowTime"></div>
	</blockquote>
	<div class="layui-row layui-col-space10 panel_box">
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
			<a href="javascript:;">
				<div class="panel_icon layui-bg-orange">
					<i class="layui-anim layui-icon" data-icon="&#xe705;">&#xe705;</i>
				</div>
				<div class="panel_word userAll">
					<span th:text="${info.projectCount}"></span>
					<cite >发表的文章总数</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
			<a href="javascript:;" >
				<div class="panel_icon layui-bg-cyan">
					<i class="layui-anim layui-icon" data-icon="&#xe705;">&#xe705;</i>
				</div>
				<div class="panel_word outIcons">
					<span th:text="${info.weekProjectCount}"></span>
					<cite>一周新增文章数</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
			<a href="javascript:;">
				<div class="panel_icon layui-bg-blue">
					<i class="layui-anim layui-icon" data-icon="&#xe756;">&#xe756;</i>
				</div>
				<div class="panel_word">
					<span th:text="${info.weekReadCount}"></span>
					<cite>一周新增阅读量</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
			<a href="javascript:;">
				<div class="panel_icon layui-bg-orange">
					<i class="layui-anim layui-icon" data-icon="&#xe611;">&#xe611;</i>
				</div>
				<div class="panel_word userAll">
					<span th:text="${info.commentCount}"></span>
					<cite >文章获得评论量</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
			<a href="javascript:;">
				<div class="panel_icon layui-bg-orange">
					<i class="layui-anim layui-icon" data-icon="&#xe611;">&#xe611;</i>
				</div>
				<div class="panel_word userAll">
					<span th:text="${info.weekCommentCount}"></span>
					<cite >一周文章获得评论量</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
			<a href="javascript:;" data-url="/admin/user/newsList">
				<div class="panel_icon layui-bg-orange">
					<i class="layui-anim layui-icon" data-icon="&#xe667;">&#xe667;</i>
				</div>
				<div class="panel_word userAll">
					<span th:text="${info.unReadNews}"></span>
					<cite >未读消息</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2" th:if="${isAdmin}">
			<a href="javascript:;" >
				<div class="panel_icon layui-bg-orange">
					<i class="layui-anim layui-icon" data-icon="&#xe667;">&#xe667;</i>
				</div>
				<div class="panel_word userAll">
					<span th:text="${info.todayDownCount}"></span>
					<cite >今日下载量</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2" th:if="${isAdmin}">
			<a href="javascript:;" >
				<div class="panel_icon layui-bg-orange">
					<i class="layui-anim layui-icon" data-icon="&#xe667;">&#xe667;</i>
				</div>
				<div class="panel_word userAll">
					<span th:text="${info.allDownCount}"></span>
					<cite >总下载量</cite>
				</div>
			</a>
		</div>
		<div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2" th:if="${isAdmin}">
			<a href="javascript:;" >
				<div class="panel_icon layui-bg-orange">
					<i class="layui-anim layui-icon" data-icon="&#xe667;">&#xe667;</i>
				</div>
				<div class="panel_word userAll">
					<span th:text="${info.todayCount}"></span>
					<cite >今日访问量</cite>
				</div>
			</a>
		</div>
	</div>
	<div class="layui-row layui-col-space10">
		<div class="layui-col-lg6 layui-col-md12">
			<blockquote class="layui-elem-quote title">最新发表 <i class="layui-icon layui-red">&#xe756;</i></blockquote>
			<table class="layui-table mag0" lay-skin="line">
				<colgroup>
					<col>
					<col width="110">
					<col width="110">
				</colgroup>
				<tbody class="hot_news"></tbody>
			</table>
		</div>
	</div>

	<script type="text/javascript" src="/layui/layui.js"></script>
	<script type="text/javascript" src="/script/admin/main/main.js"></script>
</body>
</html>